[#ftl]
[#assign s=JspTaglibs["/WEB-INF/struts-tags.tld"] /]
[#import 'head.ftl' as head]
[#assign title='网络硬盘, 改变生活!' /]
[#assign h1='${basePath}bootstrap/css/bootstrap.min.css' /]
[#assign h2='${basePath}css/index.css' /]
[#assign linkHrefs=[h1, h2] /]
[@head.printHead title linkHrefs /]
	<div class="navbar navbar-fixed-top">
	  <div class="navbar-inner">
	    <a class="brand" style="cursor: default;">网络硬盘</a>
	    <ul class="nav">
	      <li class="active"><a href="${basePath}index.htm">首页</a></li>
	      <li><a href="${basePath}readme.htm" target="_self">使用说明</a></li>
	      <li><a href="${basePath}updatelog.htm" target="_self">更新日志</a></li>
	    </ul>
	    <span id="tag">网络改变生活,云盘你的信息保密专家</span>
	  </div>
	</div>
	<div style="padding:60px;"></div>
	<form class="form-horizontal" id="login" action="${basePath}loginAction.htm" method="post">
	<div id="wrap" class="span9">
	  <div class="control-group" >
	    <label class="control-label" for="loginName">[@s.text name="loginNameTag"/]:</label>
	    <div class="controls">
	      <input type="text" id="loginName" name="loginName" placeholder="[@s.text name="loginNameTag"/]" value="${loginName!''}">
	      <span class="help‐inline text-error">${fieldErrors.loginName!''}</span>
	    </div>
	  </div>
	  <div class="control-group" >
	    <label class="control-label" for="loginPassword">[@s.text name="loginPasswordTag"/]:</label>
	    <div class="controls">
	      <input type="password" id="loginPassword" name="loginPassword" placeholder="[@s.text name="loginPasswordTag"/]">
	      <span class="help‐inline text-error">${fieldErrors.loginPassword!''}</span>
	    </div>
	  </div>
	  <div class="control-group" >
	    <label class="control-label" for="randomStr">验证码:</label>
	    <div class="controls">
	      <input class="input-small" type="text" id="randomStr" name="randomStr" placeholder="验证码">
	      <img alt="验证码,不区分大小写" src="${basePath}randomPicAction.htm" id="randomPic">
	      <span class="help-inline text-warning">看不清?点击图片刷新</span>
	    </div>
	  </div>
	  <div class="control-group">
	    <div class="controls">
	      <label class="checkbox">
	        <input type="checkbox" id="rememberMe" name="rememberMe" value="1">记住我
	      </label>
	      <button type="submit" class="btn">登陆</button>
	      <a id="forget">忘记密码?</a>
	    </div>
	  </div>
	  <hr />
	  <div class="control-group" id="other">
	    <div class="controls" id="reg">
	    	<span>还没有账号?</span>
	    	<a href="${basePath}userRegister.htm" target="_blank">个人用户注册</a>
	    	<a href="${basePath}addCompany.htm" target="_blank">企业客户注册</a>
	    </div>
	  </div>
	  </div>
	</form>
[#assign s1=basePath + 'js/jquery-1.9.1.js' /]
[#assign s2=basePath + 'js/jquery-ui-1.10.2.custom.js' /]
[#assign s3=basePath + 'bootstrap/js/bootstrap.js' /]
[#assign s4=basePath + 'js/index.js' /]
[#assign scripts=[s1, s2, s3, s4] /]
[#import "tail.ftl" as tail]
[@tail.printTail scripts /]
